package com.ruoyi.door.controller.admin.repair.vo;

import com.easy.query.core.annotation.Column;
import com.easy.query.core.annotation.EntityProxy;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.door.domain.DoorRepairOrder;
import com.ruoyi.door.domain.DoorRepairOrderLog;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@EntityProxy
public class DoorRepairOrderRespVO extends DoorRepairOrder {
    @Excel(name = "国家")
    @ApiModelProperty("国家")
    private String countryName;

    /**
     * 省
     */
    @Excel(name = "省")
    @ApiModelProperty("省")
    private String provinceName;

    /**
     * 市
     */
    @Excel(name = "市")
    @ApiModelProperty("市")
    private String cityName;

    /**
     * 区
     */
    @Excel(name = "区")
    @ApiModelProperty("区")
    private String districtName;

    /**
     * 街道
     */
    @Excel(name = "街道")
    @ApiModelProperty("街道")
    private String streetName;
    private String villageName;

    private String address;

    @Column(exist = false)
    private String landlordName;

    @Column(exist = false)
    private String landlordPhone;


    //GUID码，手机号，门禁编码 ，宽带账号，宽带密码
    private String createByNickname;
    private String operaUseNickname;
    /** 房产 */
    @Excel(name = "房产")
    @ApiModelProperty("房产")
    private Long houseId;
    private String htbh;
    private String jzxm;
    /** 宽带账号 */
    @Excel(name = "宽带账号")
    @ApiModelProperty("宽带账号")
    private String kdzh;

    /** 宽带密码 */
    @Excel(name = "宽带密码")
    @ApiModelProperty("宽带密码")
    private String kdmm;

    private String jguid;
    private String xguid;
    /** 门禁编码 */
    @Excel(name = "门禁编码")
    @ApiModelProperty("门禁编码")
    private String mjbm;

    private List<DoorRepairOrderLog> logs = new ArrayList<>();
}
